package com.luboyan.CBillbill.mapper.file;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luboyan.CBillbill.dao.file.VideoCollection;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface VideoCollectionMapper extends BaseMapper<VideoCollection> {

    /**
     * 确认某个组下用户的收藏视频信息
     */
    List<VideoCollection> getVideoCollectionByUserId(@Param("page") Integer page,
                                                     @Param("pageSize") Integer pageSize,
                                                     @Param("userId") Long userId,
                                                     @Param("groupId") Long groupId);
}
